<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>kvm | Matrix207&#39;s Blog</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="##KVM Install
Install Tools:yum -y install kvm python-virtinst libvirt  bridge-utils virt-manager qemu-kvm-tools  virt-viewer  virt-v2v
安装virt-install --name=win2003test --ram 1024 --vcpus=1 --disk pa">
<meta property="og:type" content="article">
<meta property="og:title" content="kvm">
<meta property="og:url" content="http://yoursite.com/2013/04/07/kvm/index.html">
<meta property="og:site_name" content="Matrix207's Blog">
<meta property="og:description" content="##KVM Install
Install Tools:yum -y install kvm python-virtinst libvirt  bridge-utils virt-manager qemu-kvm-tools  virt-viewer  virt-v2v
安装virt-install --name=win2003test --ram 1024 --vcpus=1 --disk pa">
<meta property="og:updated_time" content="2016-07-17T14:33:55.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="kvm">
<meta name="twitter:description" content="##KVM Install
Install Tools:yum -y install kvm python-virtinst libvirt  bridge-utils virt-manager qemu-kvm-tools  virt-viewer  virt-v2v
安装virt-install --name=win2003test --ram 1024 --vcpus=1 --disk pa">
  
    <link rel="alternate" href="/atom.xml" title="Matrix207&#39;s Blog" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link rel="stylesheet" href="/css/style.css">
  

</head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Matrix207&#39;s Blog</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="Flux RSS"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Rechercher"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://yoursite.com"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main"><article id="post-kvm" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2013/04/07/kvm/" class="article-date">
  <time datetime="2013-04-06T16:00:00.000Z" itemprop="datePublished">2013-04-07</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/tools/">tools</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      kvm
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>##KVM Install</p>
<h4 id="Install-Tools"><a href="#Install-Tools" class="headerlink" title="Install Tools:"></a>Install Tools:</h4><p><code>yum -y install kvm python-virtinst libvirt  bridge-utils virt-manager qemu-kvm-tools  virt-viewer  virt-v2v</code></p>
<h4 id="安装"><a href="#安装" class="headerlink" title="安装"></a>安装</h4><pre><code>virt-install --name=win2003test --ram 1024 --vcpus=1 --disk path=/mnt/win2003test.img,size=20 --accelerate --cdrom /mnt/WindowsServer2003SP2.iso --graphics vnc,password=123456,listen=0.0.0.0,port=5920 --force --autostart
</code></pre><h4 id="删除"><a href="#删除" class="headerlink" title="删除"></a>删除</h4><pre><code>[root@localhost ~]# virsh -c qemu:///system
virsh # list --all
virsh # destroy win2003Test
virsh # undefine win2003Test
</code></pre><h4 id="安装过程中，在系统重启后，设置CD"><a href="#安装过程中，在系统重启后，设置CD" class="headerlink" title="安装过程中，在系统重启后，设置CD"></a>安装过程中，在系统重启后，设置CD</h4><pre><code>修改 /etc/libvirt/qemu/win2003test.xml 或执行命令 virsh edit win2003test
&lt;source dev=&apos;/mnt/WindowsServer2003SP2.iso&apos;/&gt; 
加入到
&lt;disk type=&apos;block&apos; device=&apos;cdrom&apos;&gt;
 &lt;driver name=&apos;qemu&apos; type=&apos;raw&apos;/&gt;
 &lt;source dev=&apos;/mnt/WindowsServer2003SP2.iso&apos;/&gt; 
 ...
&lt;/disk&gt;

然后执行一下命令  

[root@localhost ~]# virsh -c qemu:///system
virsh # shutdown win2003test
virsh # destroy win2003test
virsh # define /etc/libvirt/qemu/win2003test.xml
virsh # start win2003test
virsh # quit
[root@localhost ~]# virt-viewer win2003test
</code></pre><h4 id="解决出现两个鼠标光标问题"><a href="#解决出现两个鼠标光标问题" class="headerlink" title="解决出现两个鼠标光标问题"></a>解决出现两个鼠标光标问题</h4><pre><code>修改 /etc/libvirt/qemu/win2003test.xml 或执行命令 virsh edit win2003test 
&lt;/console&gt;
&lt;input type=&apos;tablet&apos; bus=&apos;usb&apos;/&gt;
&lt;input type=&apos;mouse&apos; bus=&apos;ps2&apos;/&gt;
</code></pre><h4 id="安装网卡驱动"><a href="#安装网卡驱动" class="headerlink" title="安装网卡驱动"></a>安装网卡驱动</h4><pre><code>下载virtio-win-0.1-52.iso
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-52.iso
修改
&lt;source dev=&apos;/mnt/WindowsServer2003SP2.iso&apos;/&gt; 
为
&lt;source dev=&apos;/mnt/virtio-win-0.1-52.iso&apos;/&gt; 
重启系统
[root@localhost ~]# virsh shutdown win2003test
[root@localhost ~]# virsh define /etc/libvirt/qemu/win2003test.xml
[root@localhost ~]# virsh start win2003test
进入系统后就可以从光驱安装网卡驱动了.

[root@localhost ~]# /etc/init.d/network stop
Shutting down interface br0:  [  OK  ]
Shutting down interface eth0:  [  OK  ]
Shutting down interface eth1:  [  OK  ]
Shutting down interface eth2:  [  OK  ]
Shutting down interface eth3:  [  OK  ]
Shutting down interface eth4:  [  OK  ]
Shutting down interface eth5:  [  OK  ]
Shutting down loopback interface:  [  OK  ]
</code></pre><h4 id="参考文章"><a href="#参考文章" class="headerlink" title="参考文章:"></a>参考文章:</h4><ul>
<li><a href="http://blog.chinaunix.net/uid-796091-id-3291518.html" target="_blank" rel="external">fedora 17上kvm的配置</a></li>
<li><a href="http://g.51cto.com/netengineer/216414" target="_blank" rel="external">CentOS 6.3部署KVM虚拟机V1.0</a></li>
<li><a href="http://www.techotopia.com/index.php/Creating_an_RHEL_6_KVM_Networked_Bridge_Interface" target="_blank" rel="external">Creating an RHEL 6 KVM Networked Bridge Interface</a></li>
<li><a href="http://www.cnblogs.com/kumulinux/archive/2012/12/06/2808678.html" target="_blank" rel="external">RHEL6 KVM安装备忘</a></li>
<li><a href="http://www.linux-kvm.org/page/HOWTO" target="_blank" rel="external">KVM Howto</a></li>
</ul>
<hr>
<p>##KVM Bridge</p>
<p>command list:  </p>
<pre><code>[root@localhost ~]#service network stop
[root@localhost ~]#cd /etc/sysconfig/network-scripts/
[root@localhost ~]#cat ifcfg-eth0
    DEVICE=eth0
    ONBOOT=yes
    BRIDGE=br0
    HWADDR=b3:1c:51:ca:a9:f0

[root@localhost ~]#cat ifcfg-br0
    DEVICE=br0   
    TYPE=Bridge 
    BOOTPROTO=static
    ONBOOT=yes 
    IPADDR=192.168.110.30
    NETMASK=255.255.255.192
    GATEWAY=192.168.110.1

[root@localhost ~]#service network start

[root@localhost ~]#route add default gw 192.168.110.1 dev br0
</code></pre><h4 id="参考"><a href="#参考" class="headerlink" title="参考:"></a>参考:</h4><ul>
<li><a href="http://bloodiron888.blog.163.com/blog/static/1647332712010101853023528/" target="_blank" rel="external">linux kvm 网卡Bridge设置</a></li>
<li><a href="http://blog.csdn.net/samlei/article/details/7598541" target="_blank" rel="external">Redhat/CentOS6.2 x86系统KVM虚拟机网络配置(二)—Bridge方式</a></li>
<li><a href="http://bbs.chinaunix.net/thread-3591185-1-1.html" target="_blank" rel="external">CentOS 6.0 下 KVM 网卡桥接的配置</a></li>
<li><a href="http://forum.ubuntu.org.cn/viewtopic.php?t=154792" target="_blank" rel="external">虚拟化方案之－－kvm简单教程（网络桥接方案，全文更新中。。。）</a></li>
<li><a href="www.anyshare.org/open/355.html">RHEL KVM虚拟机网桥设置</a></li>
<li><a href="http://linuxkvm.blogspot.co.uk/2012/01/linux-bridge.html" target="_blank" rel="external">Linux 原生橋接器（Bridge）</a></li>
<li><a href="http://www.net527.cn/a/Ciscomoniqi/Ciscomoniqiruanjian/2012/0524/23095.html" target="_blank" rel="external">Fedora KVM Networking</a></li>
<li><a href="http://www.07net01.com/linux/Redhat_CentOS6_2_x86xitongKVMxunijiwangluopeizhi_Bridgefangshi_23477_1352279007.html" target="_blank" rel="external">Redhat/CentOS6.2 x86系统KVM虚拟机网络配置 Bridge方式</a></li>
</ul>
<hr>
<p>##KVM Bond</p>
<h4 id="关掉NetworkManager服务"><a href="#关掉NetworkManager服务" class="headerlink" title="关掉NetworkManager服务"></a>关掉NetworkManager服务</h4><pre><code>[root@localhost ~]# service NetworkManager stop

[root@localhost ~]# service NetworkManager status
NetworkManager is stopped
</code></pre><h4 id="列出当前的网卡的个数"><a href="#列出当前的网卡的个数" class="headerlink" title="列出当前的网卡的个数"></a>列出当前的网卡的个数</h4><pre><code>查询eth*,其中[[:digit:]]匹配数字，+匹配用来一个或多个数字
[root@localhost ~]# ip a | grep -E &quot;eth[[:digit:]]+:&quot;
2: eth4: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
3: eth2: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast state UP qlen 1000
4: eth5: &lt;BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
5: eth3: &lt;BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP&gt; mtu 1500 qdisc pfifo_fast master bond0 state UP qlen 1000
6: eth6: &lt;BROADCAST,MULTICAST&gt; mtu 1500 qdisc noop state DOWN qlen 1000
7: eth7: &lt;BROADCAST,MULTICAST&gt; mtu 1500 qdisc noop state DOWN qlen 1000    
[root@localhost ~]# ip a | grep -E &quot;eth[[:digit:]]+:&quot; | wc -l
6

[root@localhost ~]# grep -E &quot;eth[[:digit:]]+&quot; /proc/net/dev | awk -F&apos; |:&apos; &apos;{print $3}&apos; | sort
eth2
eth3
eth4
eth5
eth6
eth7

HowTo: Linux Show List Of Network Cards    
http://www.cyberciti.biz/faq/linux-list-network-cards-command/
</code></pre><h4 id="列出bond的个数和组成"><a href="#列出bond的个数和组成" class="headerlink" title="列出bond的个数和组成"></a>列出bond的个数和组成</h4><pre><code>[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
BRIDGE=br1

查看绑定状态
[root@localhost ~]# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth5    # 当前使用eth5
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth3           # 绑定成员eth3
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:24:ec:20:00:fe
Slave queue ID: 0

Slave Interface: eth5           # 绑定成员eth5
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:24:ec:20:00:fd
Slave queue ID: 0
</code></pre><h4 id="列出网桥的个数及其组成，和vnet的情况"><a href="#列出网桥的个数及其组成，和vnet的情况" class="headerlink" title="列出网桥的个数及其组成，和vnet的情况"></a>列出网桥的个数及其组成，和vnet的情况</h4><pre><code>1).查询网桥个数
    [root@localhost ~]# brctl show
    bridge name    bridge id        STP enabled    interfaces
    br0        8000.0024ec2000fb    no        eth4
                                tap0
    br1        8000.0024ec2000fe    no        bond0
                                tap1
                                vnet0
    virbr0        8000.525400d2af63    yes        virbr0-nic

    [root@localhost ~]# ifconfig | grep -E &quot;^br[[:digit:]]&quot;
    br0       Link encap:Ethernet  HWaddr 00:24:EC:20:00:FB  
    br1       Link encap:Ethernet  HWaddr 00:24:EC:20:00:FE  
    [root@localhost ~]# ifconfig | grep -E &quot;^br[[:digit:]]&quot; | wc -l
    2

2).查询vnet情况,使用sed，查找vnet开始到空行结束的行
    [root@localhost ~]# ifconfig | sed -n &apos;/vnet[[:digit:]]/,/^$/p&apos;
    vnet0     Link encap:Ethernet  HWaddr FE:24:EC:20:00:FF  
              inet6 addr: fe80::fc24:ecff:fe20:ff/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2669288 errors:0 dropped:0 overruns:0 frame:0
              TX packets:26731021 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:500 
              RX bytes:323410384 (308.4 MiB)  TX bytes:2495782478 (2.3 GiB)

    [root@localhost ~]# 
</code></pre><h4 id="两个网卡建立绑定"><a href="#两个网卡建立绑定" class="headerlink" title="两个网卡建立绑定"></a>两个网卡建立绑定</h4><pre><code>[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
BRIDGE=br1

echo &quot;MASTER=bond0
SLAVE=yes&quot; &gt;&gt; /etc/sysconfig/network-scripts/ifcfg-eth0

echo &quot;MASTER=bond0
SLAVE=yes&quot; &gt;&gt; /etc/sysconfig/network-scripts/ifcfg-eth1
</code></pre><h4 id="一个绑定建立一个网桥"><a href="#一个绑定建立一个网桥" class="headerlink" title="一个绑定建立一个网桥"></a>一个绑定建立一个网桥</h4><pre><code>[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=&quot;br0&quot;
BOOTPROTO=static
NM_CONTROLLED=&quot;yes&quot;
ONBOOT=yes
IPADDR=192.168.110.30
PREFIX=24
GATEWAY=192.168.110.1
DEFROUTE=yes
TYPE=Bridge
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br1
DEVICE=&quot;br1&quot;
BOOTPROTO=none
NM_CONTROLLED=&quot;yes&quot;
ONBOOT=yes
IPADDR=192.168.110.32
NETMASK=255.255.255.0
GATEWAY=192.168.110.1
DEFROUTE=yes
TYPE=Bridge
</code></pre><h4 id="删除网桥，删除绑定"><a href="#删除网桥，删除绑定" class="headerlink" title="删除网桥，删除绑定"></a>删除网桥，删除绑定</h4><pre><code>[root@localhost ~]# brctl delif br1 eth3
[root@localhost ~]# brctl delif br1 eth5
[root@localhost ~]# brctl delbr br1

service network stop
rm -f ifcfg-br*
</code></pre><h4 id="A-bonded-machine-look-as-below"><a href="#A-bonded-machine-look-as-below" class="headerlink" title="A bonded machine look as below:"></a>A bonded machine look as below:</h4><pre><code>[root@localhost ~]# ls  /etc/sysconfig/network-scripts/
ifcfg-bond0  ifcfg-eth3  ifdown-bnep  ifdown-post    ifup          ifup-ipv6   ifup-ppp       init.ipv6-global
ifcfg-br0    ifcfg-eth4  ifdown-eth   ifdown-ppp     ifup-aliases  ifup-isdn   ifup-routes    net.hotplug
ifcfg-br1    ifcfg-eth5  ifdown-ippp  ifdown-routes  ifup-bnep     ifup-plip   ifup-sit       network-functions
ifcfg-eth0   ifcfg-lo    ifdown-ipv6  ifdown-sit     ifup-eth      ifup-plusb  ifup-tunnel    network-functions-ipv6
ifcfg-eth1   ifdown      ifdown-isdn  ifdown-tunnel  ifup-ippp     ifup-post   ifup-wireless
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 
DEVICE=bond0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
TYPE=Ethernet
BRIDGE=br1
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br1
DEVICE=&quot;br1&quot;
BOOTPROTO=none
NM_CONTROLLED=&quot;yes&quot;
ONBOOT=yes
IPADDR=192.168.110.32
NETMASK=255.255.255.0
GATEWAY=192.168.110.1
DEFROUTE=yes
TYPE=Bridge
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth3
DEVICE=eth3
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth5
DEVICE=eth5
BOOTPROTO=static
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet
[root@localhost ~]# cat /etc/modprobe.d/modprobe.conf 
alias bond0 bonding
options bond0 miimon=100 mode=6
[root@localhost ~]# grep -r &quot;bond0&quot; /etc
/etc/modprobe.d/modprobe.conf:alias bond0 bonding
/etc/modprobe.d/modprobe.conf:options bond0 miimon=100 mode=6
/etc/sysconfig/network-scripts/ifcfg-eth5:MASTER=bond0
/etc/sysconfig/network-scripts/ifcfg-bond0:DEVICE=bond0
/etc/sysconfig/network-scripts/ifcfg-eth3:MASTER=bond0
[root@localhost ~]#
</code></pre><h4 id="参考-1"><a href="#参考-1" class="headerlink" title="参考:"></a>参考:</h4><ul>
<li><a href="www.cnblogs.com/kumulinux/archive/2012/10/18/2808702.html">RHEL6双网卡绑定</a></li>
<li><a href="http://join12.blog.51cto.com/1194785/992705" target="_blank" rel="external">linux系统双网卡绑定详细配置</a></li>
<li><a href="http://19861022.blog.51cto.com/353339/556781" target="_blank" rel="external">CentOS5.5 双网卡绑定</a></li>
<li><a href="http://bbs.ywlm.net/thread-1156-1-1.html" target="_blank" rel="external">Linux双网卡绑定实现负载均衡(Bonding双网卡绑定)</a></li>
<li><a href="www.yunvn.com/thread-2464-1-1.html">shell脚本自动配置双网卡绑定</a></li>
<li><a href="http://serverfault.com/questions/316623/what-is-the-correct-way-to-setup-a-bonded-bridge-on-centos-6-for-kvm-guests" target="_blank" rel="external">What is the correct way to setup a bonded bridge on Centos 6 for KVM guests?</a></li>
</ul>
<hr>
<h4 id="Other"><a href="#Other" class="headerlink" title="Other:"></a>Other:</h4><ul>
<li><a href="http://wiki.ubuntu.org.cn/Kvm%E6%95%99%E7%A8%8B#KVM_.E4.B8.8E_vbox.E7.9A.84.E5.8C.BA.E5.88.AB" target="_blank" rel="external">Kvm教程</a></li>
<li><a href="http://trac.nchc.org.tw/grid/wiki/KVM/OpenNebula" target="_blank" rel="external">KVM + OpenNebula = Virtual Cluster Deployment★★★★</a></li>
<li><a href="http://www.ibm.com/developerworks/cn/linux/l-using-kvm/" target="_blank" rel="external">使用 KVM 虚拟化技术</a></li>
<li><a href="http://www.csdn.net/article/a/2013-09-12/15816609-Virtualization" target="_blank" rel="external">虚拟化发展简史和京东的虚拟化应用方案</a></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://yoursite.com/2013/04/07/kvm/" data-id="ciqqpe1iw0048nmpv3cvw7b88" class="article-share-link">Partager</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/virtual/">virtual</a></li></ul>

    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2013/04/09/find-alive-hosts/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Récent</strong>
      <div class="article-nav-title">
        
          Find alive hosts
        
      </div>
    </a>
  
  
    <a href="/2013/04/07/arp-on-windows/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Ancien</strong>
      <div class="article-nav-title">arp on windows</div>
    </a>
  
</nav>

  
</article>

</section>
        
          <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Catégories</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/blog/">blog</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/database/">database</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/english/">english</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/kernel/">kernel</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/language/">language</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/linux/">linux</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/math/">math</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/network/">network</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/others/">others</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/person/">person</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/program/">program</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/source/">source</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/storage/">storage</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/tools/">tools</a></li><li class="category-list-item"><a class="category-list-link" href="/categories/windows/">windows</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Mot-clés</h3>
    <div class="widget">
      <ul class="tag-list"><li class="tag-list-item"><a class="tag-list-link" href="/tags/FAQ/">FAQ</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/IRC/">IRC</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Translation/">Translation</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/android/">android</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/api/">api</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/assembly/">assembly</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/awk/">awk</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/batch/">batch</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/blog/">blog</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/book/">book</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/c/">c</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/c/">c++</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/cache/">cache</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/crash/">crash</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/database/">database</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/debug/">debug</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/dot/">dot</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/driver/">driver</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/emacs/">emacs</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/exploit/">exploit</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/file-system/">file system</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/filesystem/">filesystem</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/flowchart/">flowchart</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/gcc/">gcc</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/git/">git</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/google/">google</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/graphviz/">graphviz</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hexo/">hexo</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/hosts/">hosts</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/iscsi/">iscsi</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/java/">java</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/javascript/">javascript</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/job/">job</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/json/">json</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/kernel/">kernel</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/linux/">linux</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lisp/">lisp</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/lua/">lua</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/makefile/">makefile</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/malloc/">malloc</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/math/">math</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/maxima/">maxima</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/memory/">memory</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/memory-overflow/">memory overflow</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/mtrace/">mtrace</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/netdisk/">netdisk</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/network/">network</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/others/">others</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/pandoc/">pandoc</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/performance/">performance</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/person/">person</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/protobuf/">protobuf</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/python/">python</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/rsync/">rsync</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sed/">sed</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/shell/">shell</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/skype/">skype</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sms/">sms</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/source/">source</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/ssh/">ssh</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/stack/">stack</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/storage/">storage</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/study/">study</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/svn/">svn</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/sync/">sync</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/test/">test</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/time/">time</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/tools/">tools</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/valgrind/">valgrind</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vi/">vi</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/vim/">vim</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/virtual/">virtual</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/wget/">wget</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/windows/">windows</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/wireshark/">wireshark</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/write/">write</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/xml/">xml</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Nuage de mot-clés</h3>
    <div class="widget tagcloud">
      <a href="/tags/FAQ/" style="font-size: 10px;">FAQ</a> <a href="/tags/IRC/" style="font-size: 10px;">IRC</a> <a href="/tags/Translation/" style="font-size: 13px;">Translation</a> <a href="/tags/android/" style="font-size: 10px;">android</a> <a href="/tags/api/" style="font-size: 10px;">api</a> <a href="/tags/assembly/" style="font-size: 10px;">assembly</a> <a href="/tags/awk/" style="font-size: 11px;">awk</a> <a href="/tags/batch/" style="font-size: 14px;">batch</a> <a href="/tags/blog/" style="font-size: 10px;">blog</a> <a href="/tags/book/" style="font-size: 10px;">book</a> <a href="/tags/c/" style="font-size: 16px;">c</a> <a href="/tags/c/" style="font-size: 19px;">c++</a> <a href="/tags/cache/" style="font-size: 10px;">cache</a> <a href="/tags/crash/" style="font-size: 10px;">crash</a> <a href="/tags/database/" style="font-size: 17px;">database</a> <a href="/tags/debug/" style="font-size: 12px;">debug</a> <a href="/tags/dot/" style="font-size: 10px;">dot</a> <a href="/tags/driver/" style="font-size: 10px;">driver</a> <a href="/tags/emacs/" style="font-size: 11px;">emacs</a> <a href="/tags/exploit/" style="font-size: 10px;">exploit</a> <a href="/tags/file-system/" style="font-size: 10px;">file system</a> <a href="/tags/filesystem/" style="font-size: 12px;">filesystem</a> <a href="/tags/flowchart/" style="font-size: 10px;">flowchart</a> <a href="/tags/gcc/" style="font-size: 10px;">gcc</a> <a href="/tags/git/" style="font-size: 12px;">git</a> <a href="/tags/google/" style="font-size: 11px;">google</a> <a href="/tags/graphviz/" style="font-size: 11px;">graphviz</a> <a href="/tags/hexo/" style="font-size: 10px;">hexo</a> <a href="/tags/hosts/" style="font-size: 10px;">hosts</a> <a href="/tags/iscsi/" style="font-size: 14px;">iscsi</a> <a href="/tags/java/" style="font-size: 10px;">java</a> <a href="/tags/javascript/" style="font-size: 10px;">javascript</a> <a href="/tags/job/" style="font-size: 10px;">job</a> <a href="/tags/json/" style="font-size: 10px;">json</a> <a href="/tags/kernel/" style="font-size: 14px;">kernel</a> <a href="/tags/linux/" style="font-size: 14px;">linux</a> <a href="/tags/lisp/" style="font-size: 10px;">lisp</a> <a href="/tags/lua/" style="font-size: 10px;">lua</a> <a href="/tags/makefile/" style="font-size: 10px;">makefile</a> <a href="/tags/malloc/" style="font-size: 10px;">malloc</a> <a href="/tags/math/" style="font-size: 11px;">math</a> <a href="/tags/maxima/" style="font-size: 10px;">maxima</a> <a href="/tags/memory/" style="font-size: 11px;">memory</a> <a href="/tags/memory-overflow/" style="font-size: 10px;">memory overflow</a> <a href="/tags/mtrace/" style="font-size: 10px;">mtrace</a> <a href="/tags/netdisk/" style="font-size: 10px;">netdisk</a> <a href="/tags/network/" style="font-size: 20px;">network</a> <a href="/tags/others/" style="font-size: 18px;">others</a> <a href="/tags/pandoc/" style="font-size: 10px;">pandoc</a> <a href="/tags/performance/" style="font-size: 16px;">performance</a> <a href="/tags/person/" style="font-size: 11px;">person</a> <a href="/tags/protobuf/" style="font-size: 11px;">protobuf</a> <a href="/tags/python/" style="font-size: 10px;">python</a> <a href="/tags/rsync/" style="font-size: 10px;">rsync</a> <a href="/tags/sed/" style="font-size: 11px;">sed</a> <a href="/tags/shell/" style="font-size: 15px;">shell</a> <a href="/tags/skype/" style="font-size: 11px;">skype</a> <a href="/tags/sms/" style="font-size: 10px;">sms</a> <a href="/tags/source/" style="font-size: 11px;">source</a> <a href="/tags/ssh/" style="font-size: 10px;">ssh</a> <a href="/tags/stack/" style="font-size: 10px;">stack</a> <a href="/tags/storage/" style="font-size: 15px;">storage</a> <a href="/tags/study/" style="font-size: 10px;">study</a> <a href="/tags/svn/" style="font-size: 11px;">svn</a> <a href="/tags/sync/" style="font-size: 10px;">sync</a> <a href="/tags/test/" style="font-size: 11px;">test</a> <a href="/tags/time/" style="font-size: 10px;">time</a> <a href="/tags/tools/" style="font-size: 16px;">tools</a> <a href="/tags/valgrind/" style="font-size: 10px;">valgrind</a> <a href="/tags/vi/" style="font-size: 10px;">vi</a> <a href="/tags/vim/" style="font-size: 14px;">vim</a> <a href="/tags/virtual/" style="font-size: 11px;">virtual</a> <a href="/tags/wget/" style="font-size: 10px;">wget</a> <a href="/tags/windows/" style="font-size: 11px;">windows</a> <a href="/tags/wireshark/" style="font-size: 10px;">wireshark</a> <a href="/tags/write/" style="font-size: 13px;">write</a> <a href="/tags/xml/" style="font-size: 10px;">xml</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">July 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">April 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">March 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/02/">February 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/01/">January 2016</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">November 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/10/">October 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">September 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">August 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/07/">July 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/06/">June 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">March 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/02/">February 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/01/">January 2015</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">December 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/11/">November 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/09/">September 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/08/">August 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07/">July 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/06/">June 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/05/">May 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/04/">April 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/03/">March 2014</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/11/">November 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/10/">October 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/09/">September 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/08/">August 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/07/">July 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/06/">June 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/05/">May 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/04/">April 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/03/">March 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/02/">February 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2013/01/">January 2013</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/12/">December 2012</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/09/">September 2012</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Articles récents</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2016/07/17/how-to-implement-malloc/">如何实现一个malloc</a>
          </li>
        
          <li>
            <a href="/2016/07/17/study-grep-more/">grep工作原理</a>
          </li>
        
          <li>
            <a href="/2016/07/17/2016-04-13-malloc/">malloc</a>
          </li>
        
          <li>
            <a href="/2016/04/27/include-what-you-use/">使用IWYU整理头文件引用</a>
          </li>
        
          <li>
            <a href="/2016/04/24/understand-gcc-assembly-output/">understand gcc assembly output</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2016 Matrix207<br>
      Propulsé by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/script.js"></script>

  </div>
</body>
</html>